package com.yyx.app1.DiagnosticTools_function.Control.ViewPager.ViewPagerItemControl.fourthControl.ImmobilizationListView;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yyx.app1.R;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewById;

/**
 * Created by yuexing on 2015/9/15.
 */
@EViewGroup(R.layout.itemview__immobilization_listview_diagnostictools_fourthcontrol)
public class immobilization_ListView_ItemView extends LinearLayout {
    private Context context;
    
    @ViewById
    TextView itemview__immobilization_listview_diagnostictools_fourthcontrol1,itemview__immobilization_listview_diagnostictools_fourthcontrol2,itemview__immobilization_listview_diagnostictools_fourthcontrol3;

    public immobilization_ListView_ItemView(Context context) {
        super(context);
        this.context=context;
    }

    public immobilization_ListView_ItemView(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context=context;
    }

    public immobilization_ListView_ItemView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        this.context=context;
    }

    public void bind(String first ,String second ,String three)
    {
        itemview__immobilization_listview_diagnostictools_fourthcontrol1.setText(first);
        itemview__immobilization_listview_diagnostictools_fourthcontrol2.setText(second);
        itemview__immobilization_listview_diagnostictools_fourthcontrol3.setText(three);
    }
}
